[staticanalysis]: Add missing va_end()
authorColin Walters <walters@verbum.org>
Sat, 21 Jun 2014 21:24:06 +0000 (17:24 -0400)
committerColin Walters <walters@verbum.org>
Sat, 21 Jun 2014 22:08:49 +0000 (18:08 -0400)
https://bugzilla.gnome.org/show_bug.cgi?id=732020

src/libotutil/ot-gio-utils.c

index 61eb422de66171693cb56f15b2aa6bec1ae3f95b..dff2113cfe1aca7cab3e48cfaad5cdc9f9828b65 100644 (file)
@@ -98,6 +98,8 @@ ot_gfile_get_child_strconcat (GFile *parent,
   while ((arg = va_arg (args, const char *)) != NULL)
     g_string_append (buf, arg);
 
+  va_end (args);
+
   ret = g_file_get_child (parent, buf->str);
   
   g_string_free (buf, TRUE);